package com.winning.sjzc.old.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.winning.sjzc.zygl.entity.Zygl;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ZyglDao extends BaseMapper<Zygl> {

    List queryZyTree();

    Long queryByZydm(Map<String, Object> map);

    Long queryByZdm(Map<String, Object> map);

    Zygl queryTop1(Zygl zyglQ);

    void updateZyx(Zygl zygl);

    void delFromUpdate(Zygl zygl);

    void updateZy(Zygl zygl);

    Zygl getZygl(Map<String, Object> map);
}
